import Vue from 'vue'
import Vuex from 'vuex'
import cart from "./module/cartModule"
import tabbar from "./module/Tabbarmodule"
import silo from "./module/silomodule"
import product from './module/Product'
import createPersistedState from "vuex-persistedstate";


Vue.use(Vuex)

export default new Vuex.Store({
  plugins: [createPersistedState()],
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    cart,
    tabbar,  //tabbar的模块
    silo,
    product
  }
})
